package com.wbsxch.example.springsecurity.controller;

import com.wbsxch.example.springsecurity.controller.model.UserBody;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api")
public class LoginController {

    @PostMapping("/login")
    public String login(@RequestBody UserBody userBody){

        return "";
    }

    @PostMapping("/logout")
    public String logout(){

        return "";
    }
}
